const Controller = require('../core/base_controller')
class PostController extends Controller {
  async list() {
    const posts = await this.service.listByUser(this.user)
    this.success(posts)
  }
}